package lj.courseinterect.dao.i;

import lj.courseinterect.entity.NoticeInfo;
import lj.courseinterect.entity.StudentCourse;

import java.util.List;

/**
 * Created by CatoldCui on 2015/4/20.
 */
public interface NoticeInfoDao extends Dao<NoticeInfo, Long>{
    /**
     * 按课程编号查询
     * @param couId
     * @return
     */
    List<NoticeInfo> queryByCouId(Long couId);

    /**
     * 查询第一个
     * @param couId
     * @return
     */
    public NoticeInfo findByCouId(Long couId);
}
